#include <minwindef.h>
#include <windows.h>
#include <winnt.h>

BOOL DllMain(int a, int b, int c) {
  // switch (a) { case 1: }
  return 1;
}
__declspec(dllexport) LRESULT CALLBACK hookcall(int nCode, WPARAM wParam,
                                                LPARAM lParam) {
  if (nCode >= 0) {
    if (wParam == VK_F12 && lParam & (1 << 30)) {
      HWND hwnd = GetActiveWindow();
      MessageBox(NULL, L"成功注入到程序内部", L"脱氧核糖核酸", MB_OK);
    }
  }
  // return 1;
  return CallNextHookEx(NULL, nCode, wParam, lParam);
}
